#app {
  width: 100%;
  height: 100vh;
  background: $white;
}
.cp {
  cursor: pointer;
}

.l-sidebar {
  position: relative;
  height: 100%;
  overflow: hidden;
  width: fit-content;
  .l-sidebar-switch {
    position: absolute;
    height: 30px;
    width: 100%;
    bottom: 0;
    left: 20px;
  }
}
.el-aside {
  height: 100%;
  width: fit-content !important;
  overflow: hidden;
}
.el-menu {
  height: 100%;
  // background: $themeColor;
  // background-color: $themeColor!important;
  .svg-wh {
    width: 30px !important;
    height: 30px !important;
    margin-right: 5px;
  }
  .el-menu-item {
    margin: 0 8px;
    height: 50px;
    &.is-active {
      background-color: $themeColor;
      border-radius: 4px;
      // margin: 0 10px;
      &:hover {
        color: var(--el-menu-active-color);
      }
    }
  }
  .el-menu-item,
  .el-sub-menu__title {
    &:hover {
      color: var(--el-menu-hover-text-color);
    }
  }
  .el-sub-menu__title {
    color: var(--el-menu-text-color) !important;
  }
}
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
}
/*隐藏文字*/
.el-menu--collapse .el-sub-menu__title span {
  display: none;
}
/*隐藏 > */
.el-menu--collapse .el-sub-menu__icon-arrow {
  display: none;
}

.tab-bar {
  height: 38px;
  padding: 4px 20px;
  box-shadow: 0 0 1px #888;
  .tag-tab {
    display: inline-block;
    margin-right: 10px;
    height: 30px;
    line-height: 30px;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 1px #888;
    padding: 0 10px;
    position: relative;
    .el-icon {
      margin-left: 5px;
    }
    &.activate-tab {
      color: $themeColor;
      > :after {
        content: '';
        width: 100%;
        height: 2px;
        background: $themeColor;
        position: absolute;
        top: 100%;
        left: 0;
      }
    }
    &:after {
      content: '';
      width: 0%;
      height: 2px;
      background: $themeColor;
      position: absolute;
      top: 100%;
      left: 0;
      transition: all 0.3s;
    }
    &:hover::after {
      width: 100%;
    }
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
// .el-divider--horizontal{
//   margin: 10px 0!important
// }
@import './theme.scss';
